home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Entertainment / luff stuff / luff⁄MacLuff.h < prev    next >
C/C++ Source or Header  |  1985-11-08  |  619b  |  37 lines

  1. #include <mac/quickdraw.h>
  2. #include <mac/toolintf.h>
  3. #include <mac/osintf.h>
  4. #include "def.h"
  5.  
  6. #define WINDOW 128
  7.  
  8. #define MENUS 4
  9.  
  10. #define APPLE 1
  11.  
  12. #define FILE 256
  13. #define NEW_GAME 1
  14. #define QUIT 3
  15.  
  16. #define HELP 257
  17.  
  18. #define COMMAND 258
  19. #define YOUR_MOVE 1
  20. #define REMOVE 2
  21. #define SHOW_GAME 3
  22. #define HINT 4
  23.  
  24. #define FINGER 256
  25.  
  26. MenuHandle my_menus[MENUS];
  27. int the_menu, the_item;
  28. EventRecord my_event;
  29. CursHandle h_curs;
  30. Cursor finger;
  31. WindowPtr which_w, the_w;
  32. WindowRecord w_record;
  33. Rect play_r, xy_r[XZIZE][YZIZE], hole_r[4], drag_r, message_r;
  34. Point mouse_p;
  35. GrafPort *save_port;
  36. LOGIC done_flag, message_flag;
  37.